package com.fuxin.mywiki1.service;

import com.fuxin.mywiki1.domain.Ebook;
import com.fuxin.mywiki1.domain.EbookExample;
import com.fuxin.mywiki1.mapper.EbookMapper;
import org.springframework.stereotype.Service;


import javax.annotation.Resource;
import java.util.List;

@Service
public class EbookService {
    @Resource
    private EbookMapper ebookMapper;
    public List<Ebook> list(){
        return ebookMapper.selectByExample(null);
    }

}
